package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenhc
 * @since 2025-03-26
 */
@Data
@ApiModel("存储")
@TableName("storage")
public class Storage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "storage_id", type = IdType.AUTO)
    private Integer storageId;

    private Integer deviceId;

    private String storageMib;

    private String storageIndex;

    private String storageType;

    private String storageDescr;

    private Long storageSize;

    private Integer storageUnits;

    private Long storageUsed;

    private Long storageFree;

    private Integer storagePerc;

    private Integer storagePercWarn;

    private Boolean storageDeleted;
}
